package objects;

import java.io.Serializable;
public class Player implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String ip;
	private String name; 
	private int id;	
	private String ruolo ="normal";
	
	public Player(String ip, String name, int id){
		
		this.ip= ip;
		this.id=id;
		this.name=name; 
		
	}


	public String getIp() {
		
		return ip;
	}

	public String getName() {
		
		return name;
	}

	public int getId() {
		
		return id;
	}
	
	public String getRuolo() {
		
		return ruolo;
	}
	public void setRuolo(String r) {
		
		this.ruolo = r ;
	}
	
	
}// end Player
